package qu.sol2bpel.protocol;

import java.util.ArrayList;

public class Setup_step {
	
	public Setup_step(String party, String operation, ArrayList<String> inputs,
			ArrayList<String> outputs) {
		super();
		this.party = party;
		this.operation = operation;
		this.inputs = inputs;
		this.outputs = outputs;
	}
	private String party;
	private String operation;
	private ArrayList<String> inputs;
	private ArrayList<String> outputs;
	
	public String getParty() {
		return party;
	}
	public void setParty(String party) {
		this.party = party;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public ArrayList<String> getInputs() {
		return inputs;
	}
	public void setInputs(ArrayList<String> inputs) {
		this.inputs = inputs;
	}
	public ArrayList<String> getOutputs() {
		return outputs;
	}
	public void setOutputs(ArrayList<String> outputs) {
		this.outputs = outputs;
	}
	
	public void print()
	{
		System.out.print("Executing party: "+ party + " , service to execute: "+ operation + " , list of inputs : ");
		for(String i: inputs)
			System.out.print(i +" ; ");
		System.out.print(" , list of outputs : ");
		for(String o: outputs)
			System.out.print(o +" ; ");
		System.out.println();
		
	}

}
